package cn.zyn.educms;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author ：zyn
 * @date ：Created in 2022/6/6 15:01
 * @description：启动类
 * @modified By：
 * @version: $
 */
@SpringBootApplication
@ComponentScan({"cn.zyn"}) //指定扫描位置
@MapperScan("cn.zyn.educms.mapper")
@EnableDiscoveryClient//nacos注册
public class CmsApplication {
    public static void main(String[] args) {
        SpringApplication.run(CmsApplication.class, args);
    }
}
